<template>
  <div>
    <h1>Child</h1>
    <Grandson v-bind="$attrs" v-on="$listeners" />
  </div>
</template>

<script>
import Grandson from "./Grandson.vue";
export default {
  name: "Child",
  props: ["name", "getData1"],
  components: {
    Grandson,
  },
  mounted() {
    console.log(this.$attrs, "attrs");
    console.log(this.$listeners, "listeners");
  },
};
</script>

<style>
</style>